package com.geekbang.couponcalculationimpl.controller;
import com.geekbang.couponcalculationapi.beans.ShoppingCart;
import com.geekbang.couponcalculationapi.beans.SimulationOrder;
import com.geekbang.couponcalculationapi.beans.SimulationResponse;
import org.springframework.web.bind.annotation.RequestBody;

public interface CouponCalculationService {
    ShoppingCart calculateOrderPrice(@RequestBody ShoppingCart cart);
    SimulationResponse simulateOrder(@RequestBody SimulationOrder cart);
}
